package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报价实体对象 sys_offerinfo
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysOfferinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报价ID */
    private Long offerInfoId;

    /** 竞价信息表ID */
    @Excel(name = "竞价信息表ID")
    private Long bidInfoId;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierId;

    /** 报价金额 */
    @Excel(name = "报价金额")
    private Long offerAmount;

    /** 报价参数 */
    @Excel(name = "报价参数")
    private String offerParameter;

    /** $column.columnComment */
    @Excel(name = "报价参数", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribute1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribute2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribute3;
    /**
     * 货物信息表ID
     */
    private Long goodParameterId;
    /**
     * 供应商信息
     */
    private SysSupplier sysSupplier;
    /**
     * 供应商货物信息
     */
    private SysGoodparameter sysGoodparameter;

    public void setOfferInfoId(Long offerInfoId) 
    {
        this.offerInfoId = offerInfoId;
    }

    public Long getOfferInfoId() 
    {
        return offerInfoId;
    }
    public void setBidInfoId(Long bidInfoId) 
    {
        this.bidInfoId = bidInfoId;
    }

    public Long getBidInfoId() 
    {
        return bidInfoId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setOfferAmount(Long offerAmount) 
    {
        this.offerAmount = offerAmount;
    }

    public Long getOfferAmount() 
    {
        return offerAmount;
    }
    public void setOfferParameter(String offerParameter) 
    {
        this.offerParameter = offerParameter;
    }

    public String getOfferParameter() 
    {
        return offerParameter;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }
    public void setAttribute1(String attribute1) 
    {
        this.attribute1 = attribute1;
    }

    public String getAttribute1() 
    {
        return attribute1;
    }
    public void setAttribute2(String attribute2) 
    {
        this.attribute2 = attribute2;
    }

    public String getAttribute2() 
    {
        return attribute2;
    }
    public void setAttribute3(String attribute3) 
    {
        this.attribute3 = attribute3;
    }

    public String getAttribute3() 
    {
        return attribute3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("offerInfoId", getOfferInfoId())
            .append("bidInfoId", getBidInfoId())
            .append("supplierId", getSupplierId())
            .append("offerAmount", getOfferAmount())
            .append("offerParameter", getOfferParameter())
            .append("crateTime", getCrateTime())
            .append("attribute1", getAttribute1())
            .append("attribute2", getAttribute2())
            .append("attribute3", getAttribute3())
            .toString();
    }

    public SysSupplier getSysSupplier() {
        return sysSupplier;
    }

    public void setSysSupplier(SysSupplier sysSupplier) {
        this.sysSupplier = sysSupplier;
    }

    public SysGoodparameter getSysGoodparameter() {
        return sysGoodparameter;
    }

    public void setSysGoodparameter(SysGoodparameter sysGoodparameter) {
        this.sysGoodparameter = sysGoodparameter;
    }

    public Long getGoodParameterId() {
        return goodParameterId;
    }

    public void setGoodParameterId(Long goodParameterId) {
        this.goodParameterId = goodParameterId;
    }
}
